/**
 * 
 */
package guiTesting;

import java.util.Vector;

import javax.swing.table.AbstractTableModel;

/**
 * @author a010743
 *
 */
public class SearchTableModel extends AbstractTableModel {
	
	Vector rowData; 
	public  String[] columnNames = {"First Name ", "Last Name","Email" , "Display Name", "Is Active"};

	public SearchTableModel(Vector rowData2, String[] columnNamesV){
		this.rowData=rowData2; 
		this.columnNames = columnNamesV; 
		//super();
	}
		
	public int getColumnCount() {
		return columnNames.length;
	}

	public int getRowCount() {
		return rowData.size();
	}
	
		
	public Object getValueAt(int rowIndex, int columnIndex) {
		return null; //rowData[rowIndex][columnIndex];
	}
	
	public void setValueAt (Object value, 
			int row, int col) {
    //rowData[row][col] = (Vector) value;
    fireTableCellUpdated (row, col);
  }
	
	

}
